package com.wpp.rabbitmq.b_work;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author wpp25
 * @date 2019/11/19 21:30
 * @description：
 */
@Component
@RabbitListener(queues = "02_work_queue")
public class WorkQueuesListener02 {

    @RabbitHandler
    public void wordQueuesListener1(String message) {
        System.out.printf("wrokListener2 ====>%s %n",message);
    }

}
